<%--
  Created by IntelliJ IDEA.
  User: HuangLiting
  Date: 2018/5/9
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html ng-app="addTmApp">
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="css/admin.css"/>
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
    <link rel="stylesheet" type="text/css" href="css/houtai.css"/>
    <script type="text/javascript" src="js/libs/modernizr.min.js"></script>
</head>
<body ng-controller="addTmController">
<jsp:include page="/header.jsp"></jsp:include>
<div class="container clearfix">
    <jsp:include page="/leftBar.jsp"></jsp:include>
    <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="#" color="#white">首页</a>
                <span class="crumb-step">&gt;</span><span class="crumb-name">教师信息</span>
                <span class="crumb-step">&gt;</span><span class="crumb-name">教师信息新增</span></div>
        </div>
        <div class="result-wrap">
            <blockquote class="layui-elem-quote">
                <p style="font-size: 20px;">教师：{{tname}}</p>
            </blockquote>
            <div class="result-content">
                <form method="post">
                    <table class="insert-tab" width="100%">
                        <tbody>
                        <tr>
                            <th width="120"><i class="require-red">*</i>教工号：</th>
                            <td>
                                <input class="common-text required select-css" type="text" name="lm-tid" required="required" ng-model="tid" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120"><i class="require-red">*</i>密码：</th>
                            <td>
                                <input class="common-text required select-css" type="password" name="tm-password" required="required" ng-model="password" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120"><i class="require-red">*</i>姓名：</th>
                            <td>
                                <input class="common-text required select-css" type="text" name="tm-tname" required="required" ng-model="tname" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120"><i class="require-red">*</i>职称：</th>
                            <td>
                                <input class="common-text required select-css" type="text" name="tm-professinalTitle" required="required" ng-model="professinalTitle" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120"><i class="require-red">*</i>联系方式：</th>
                            <td>
                                <input class="common-text required select-css" type="text" name="tm-contactWay" required="required" ng-model="contactWay" />
                            </td>
                        </tr>
                        <tr>
                            <th width="120"><i class="require-red">*</i>自我简介：</th>
                            <td>
                                <input class="common-text required select-css" type="text" name="tm-instruction" required="required" ng-model="instruction" />
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>角色：</th>
                            <td>
                                <select class="common-text required select-css" name="tm-role" id="tm-role" required="" ng-model="role">
                                    <option value="" disabled="" selected="">请选择角色</option>
                                    <option value="0">教师</option>
                                    <option value="1">管理员</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <th></th>
                            <td>
                                <button class="layui-btn" ng-click="addTeacher()">立即添加</button>
                                <button class="layui-btn layui-btn-primary" ng-click ="backToTmList()">返回</button>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
    <!--/main-->
</div>
</body>
<script src="js/jquery.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/addTeacher.js"></script>
<script>

</script>
</html>

